/*
 * Aesthetic element, needed to help manage layout.
 * This wouldn't be necessary on a desktop application.
 */

#ifndef VERTICALSPLITTER_HPP
#define VERTICALSPLITTER_HPP

#include <Wt/WContainerWidget>
#include <Wt/WCssStyleSheet>
#include <Wt/WApplication>
#include <Wt/WVBoxLayout>
#include "utilities.hpp"
// using namespace webpages::resources;
#include "MessageWindow.hpp"

class HorizontalSplitter : public Wt::WVBoxLayout
{
    MessageWindow* message_window;
        //TODO: Move to common CSS area:
    class BorderTest : public Wt::WCssTextRule
    {
    public:
        BorderTest()
            :
                Wt::WCssTextRule(".testing222",
                                 "border-color: silver;"
                                 "border-width: medium;"
                                 "border-style: ridge;"
                                 // "display:block;"
                                 // "overflow:hidden;"
                                 // "width:100%;"
                                 // "padding: 0;"
                                 // "margin:0;"
                                 // "margin-bottom: 25px;"
                                )
                {}
    };
    
public:
    HorizontalSplitter();
};

#endif //VERTICALSPLITTER_HPP